﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Alos.Entity;
using Alos.Common;
using Alos.IRepository;
using Alos.IService;
using PetaPoco;

namespace Alos.Service
{
    public class RePutQuestionDetailService : BaseService<RePutQuestionDetail>, IRePutQuestionDetailService
    {
        IRePutQuestionDetailRepository RePutQuestionDetailRepository;
        public RePutQuestionDetailService(IRePutQuestionDetailRepository _RePutQuestionDetailRepository)
        {
            RePutQuestionDetailRepository = _RePutQuestionDetailRepository;
        }
        /// <summary>
        ///添加学生课堂问答详情表
        /// </summary>
        /// <param name="RePutQuestionDetail"></param>
        /// <returns></returns>
        public bool CreateRePutQuestionDetail(RePutQuestionDetail RePutQuestionDetail)
        {
            return RePutQuestionDetailRepository.CreateRePutQuestionDetail(RePutQuestionDetail);
        }
    }
}
